package com.carlinfo.shop.common.test;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringMain
{
	public static void main(String[] args)
	{
		/**
		 * 加载Spring的配置文件有四种
		 * 从Classpath中找相关的配置文件,包含jar包中的classpath
		 */
		ApplicationContext ac = new ClassPathXmlApplicationContext("classpath*:META-INF/spring/applicationContext-*.xml");
		System.out.println("===测试代码===");
	}
}
